﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000BA1 RID: 2977
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyGetRaffleTicketCsReq : IMessage<MonopolyGetRaffleTicketCsReq>, IMessage, IEquatable<MonopolyGetRaffleTicketCsReq>, IDeepCloneable<MonopolyGetRaffleTicketCsReq>, IBufferMessage
	{
		// Token: 0x1700258E RID: 9614
		// (get) Token: 0x06008531 RID: 34097 RVA: 0x00162B50 File Offset: 0x00160D50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyGetRaffleTicketCsReq> Parser
		{
			get
			{
				return MonopolyGetRaffleTicketCsReq._parser;
			}
		}

		// Token: 0x1700258F RID: 9615
		// (get) Token: 0x06008532 RID: 34098 RVA: 0x00162B57 File Offset: 0x00160D57
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyGetRaffleTicketCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002590 RID: 9616
		// (get) Token: 0x06008533 RID: 34099 RVA: 0x00162B69 File Offset: 0x00160D69
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyGetRaffleTicketCsReq.Descriptor;
			}
		}

		// Token: 0x06008534 RID: 34100 RVA: 0x00162B70 File Offset: 0x00160D70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyGetRaffleTicketCsReq()
		{
		}

		// Token: 0x06008535 RID: 34101 RVA: 0x00162B78 File Offset: 0x00160D78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyGetRaffleTicketCsReq(MonopolyGetRaffleTicketCsReq other) : this()
		{
			this.poolId_ = other.poolId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008536 RID: 34102 RVA: 0x00162B9D File Offset: 0x00160D9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyGetRaffleTicketCsReq Clone()
		{
			return new MonopolyGetRaffleTicketCsReq(this);
		}

		// Token: 0x17002591 RID: 9617
		// (get) Token: 0x06008537 RID: 34103 RVA: 0x00162BA5 File Offset: 0x00160DA5
		// (set) Token: 0x06008538 RID: 34104 RVA: 0x00162BAD File Offset: 0x00160DAD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PoolId
		{
			get
			{
				return this.poolId_;
			}
			set
			{
				this.poolId_ = value;
			}
		}

		// Token: 0x06008539 RID: 34105 RVA: 0x00162BB6 File Offset: 0x00160DB6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyGetRaffleTicketCsReq);
		}

		// Token: 0x0600853A RID: 34106 RVA: 0x00162BC4 File Offset: 0x00160DC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyGetRaffleTicketCsReq other)
		{
			return other != null && (other == this || (this.PoolId == other.PoolId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600853B RID: 34107 RVA: 0x00162BF4 File Offset: 0x00160DF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PoolId != 0U)
			{
				num ^= this.PoolId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600853C RID: 34108 RVA: 0x00162C33 File Offset: 0x00160E33
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600853D RID: 34109 RVA: 0x00162C3B File Offset: 0x00160E3B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600853E RID: 34110 RVA: 0x00162C44 File Offset: 0x00160E44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PoolId != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.PoolId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600853F RID: 34111 RVA: 0x00162C78 File Offset: 0x00160E78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PoolId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PoolId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008540 RID: 34112 RVA: 0x00162CB6 File Offset: 0x00160EB6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyGetRaffleTicketCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PoolId != 0U)
			{
				this.PoolId = other.PoolId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008541 RID: 34113 RVA: 0x00162CE7 File Offset: 0x00160EE7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008542 RID: 34114 RVA: 0x00162CF0 File Offset: 0x00160EF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 112U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.PoolId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040032DE RID: 13022
		private static readonly MessageParser<MonopolyGetRaffleTicketCsReq> _parser = new MessageParser<MonopolyGetRaffleTicketCsReq>(() => new MonopolyGetRaffleTicketCsReq());

		// Token: 0x040032DF RID: 13023
		private UnknownFieldSet _unknownFields;

		// Token: 0x040032E0 RID: 13024
		public const int PoolIdFieldNumber = 14;

		// Token: 0x040032E1 RID: 13025
		private uint poolId_;
	}
}
